home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 44
/
PC Gamer IT CD 44 2-2.iso
/
peacemaker
/
Peacemaker
/
Gui
/
optwidg.dat
< prev
next >
Wrap
Text File
|
1999-03-11
|
10KB
|
322 lines
FSTPC 5
# The options screen widgets
# ON-OFF GRAPHICS
Bitmap opton
(:area 0 0 12 12 :parent optgui :sub_path options :file opton.sur)
Bitmap optoff
(:area 0 0 12 12 :parent optgui :sub_path options :file optoff.sur)
# STATE3 GRAPHICS
Bitmap optup
(:area 0 0 20 20 :parent optgui :sub_path options :file but2a.sur)
Bitmap optdown
(:area 0 0 20 20 :parent optgui :sub_path options :file but2b.sur)
Bitmap opthi
(:area 0 0 20 20 :parent optgui :sub_path options :file but2c.sur)
#====================================================================================================================
# CONTROL METHOD
#====================================================================================================================
Group controlgrp
(:area 0 0 0 0 :parent optgui :max 1)
# MOUSE
OnOff mouse
(:area 38 74 12 12 :parent controlgrp :cursor high :on opton :off optoff :layer 1 :radio
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:On_action 1
2 change_opt optgui 4 1))
# KEYBOARD
OnOff keyboard
(:area 147 74 12 12 :parent controlgrp :cursor high :on opton :off optoff :layer 1 :radio
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:On_action 1
2 change_opt optgui 4 2))
# JOYSTICK
OnOff joystick
(:area 266 74 12 12 :parent controlgrp :cursor high :on opton :off optoff :layer 1 :radio
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:On_action 1
2 change_opt optgui 4 3))
# MOUSE SENSITIVITY
# INCREASE
State3 msplus
(:area 527 80 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 5 1))
# DECREASE
State3 msminus
(:area 432 80 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 5 0))
sRegion mouse1
(:area 455 84 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion mouse2
(:area 469 84 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion mouse3
(:area 483 84 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion mouse4
(:area 497 84 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion mouse5
(:area 511 84 12 12 :parent optgui :cursor high :graphic opton :layer 1)
#====================================================================================================================
# GRAPHICS OPTIONS
#====================================================================================================================
# GRAPHIC DETAIL
State3 graphicup
(:area 260 187 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 3 1))
State3 graphicdown
(:area 165 187 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 3 0))
sRegion tex1
(:area 188 191 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion tex2
(:area 202 191 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion tex3
(:area 216 191 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion tex4
(:area 230 191 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion tex5
(:area 244 191 12 12 :parent optgui :cursor high :graphic opton :layer 1)
# SPECIAL EFFECTS
State3 sfxup
(:area 260 218 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 2 1))
State3 sfxdown
(:area 165 218 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 2 0))
sRegion sfx1
(:area 188 222 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion sfx2
(:area 202 222 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion sfx3
(:area 216 222 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion sfx4
(:area 230 222 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion sfx5
(:area 244 222 12 12 :parent optgui :cursor high :graphic opton :layer 1)
# SCREEN RESOLUTION
Group res_grp
(:area 0 0 0 0 :parent optgui :max 1)
# SUPER RES 800x600
OnOff super_res
(:area 461 199 12 12 :parent res_grp :cursor high :on opton :off optoff :radio :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:On_action 1
2 change_opt optgui 1 4))
# HIGH RES 640x480
OnOff high_res
(:area 461 221 12 12 :parent res_grp :cursor high :on opton :off optoff :radio :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:On_action 1
2 change_opt optgui 1 3))
# MEDIUM RES 512x384
OnOff medium_res
(:area 461 243 12 12 :parent res_grp :cursor high :on opton :off optoff :radio :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:On_action 1
2 change_opt optgui 1 2))
#====================================================================================================================
# SOUND OPTIONS
#====================================================================================================================
# MENU MUSIC
State3 menu_music_up
(:area 260 334 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 8 1))
State3 menu_music_down
(:area 165 334 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 8 0))
sRegion menu1
(:area 188 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion menu2
(:area 202 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion menu3
(:area 216 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion menu4
(:area 230 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion menu5
(:area 244 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
# GAME MUSIC
State3 game_music_up
(:area 260 365 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 9 1))
State3 game_music_down
(:area 165 365 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 9 0))
sRegion game1
(:area 188 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion game2
(:area 202 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion game3
(:area 216 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion game4
(:area 230 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion game5
(:area 244 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
# SOUND EFFECTS
State3 sound_fx_up
(:area 544 334 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 6 1))
State3 sound_fx_down
(:area 449 334 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 6 0))
sRegion sound_fx1
(:area 472 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion sound_fx2
(:area 486 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion sound_fx3
(:area 500 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion sound_fx4
(:area 514 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion sound_fx5
(:area 528 338 12 12 :parent optgui :cursor high :graphic opton :layer 1)
# SPEECH
State3 radio_vol_up
(:area 544 365 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 7 1))
State3 radio_vol_down
(:area 449 365 20 20 :parent optgui :up optup :down optdown :high opthi :cursor high :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
2 change_opt optgui 7 0))
sRegion radio_vol1
(:area 472 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion radio_vol2
(:area 486 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion radio_vol3
(:area 500 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion radio_vol4
(:area 514 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
sRegion radio_vol5
(:area 528 369 12 12 :parent optgui :cursor high :graphic opton :layer 1)
# ENGINE NOISE
OnOff engine_noise
(:area 168 399 12 12 :parent optgui :cursor high :on opton :off optoff :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:On_action 1
3 change_opt_onoff optgui 10 0 1)
(:Off_action 1
3 change_opt_onoff optgui 10 0 0))
# SUBTITLES
OnOff subtitles
(:area 452 399 12 12 :parent optgui :cursor high :on opton :off optoff :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:On_action 1
3 change_opt_onoff optgui 10 1 1)
(:Off_action 1
3 change_opt_onoff optgui 10 1 0))
#====================================================================================================================
# ACCEPT
State3 opt_done
(:area 483 434 119 38 :parent optgui :up butup :down butdown :high buthi :cursor high :trans :active_area :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
1 opt_done optgui 1))
# CANCEL
#====================================================================================================================
# BARS TO GREY OUT THE SUPER RES AND LO RES IF NOT AVAILABLE
#====================================================================================================================
Bitmap resbmp
(:area 0 0 52 15 :parent optgui :sub_path options :file rescover.sur)
# 512x384
sRegion ov512
(:area 660 242 52 15 :parent optgui :graphic resbmp :disabled :layer 1)
# 800x600
sRegion ov800
(:area 660 198 52 15 :parent optgui :graphic resbmp :disabled :layer 1)
Paths 0 0